import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import ElementPlus from 'element-plus';
import VChart from 'vue-echarts';
import 'element-plus/dist/index.css';
import store from './store'; // 引入 Vuex Store
// import './assets/css/global.css'

// 定义特性标志
window.__VUE_PROD_DEVTOOLS__ = false;
window.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = false;

const app = createApp(App);

app.use(ElementPlus);
app.use(store);
app.use(router); // 使用路由配置
app.component('v-chart', VChart);
app.mount('#app');